<?php 
namespace app\model;
use think\Model;

class Category extends Model
{	
	public static function getLocationCn($key){
        $list = ['top'=>'头部','bottom'=>'底部'];
        return $list[$key];
    }

    public static function getLocationList(){
        $list = ['top'=>'头部','bottom'=>'底部'];
        return $list;
    }
}


 ?>